﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            Class4 suanfa = new Class4();
            Console.WriteLine("两数相加为"+suanfa.a(12,11));
            Console.WriteLine("两小数相加为"+suanfa.b(15.2,14.5));
            Console.WriteLine("两个字符串相加为"+suanfa.c("cgsf","gsuyfyug"));
            Console.WriteLine("从一到指定数相加为"+suanfa.con(5));
            //Class3 tx = new Class3();
            //Console.WriteLine("圆的面积为" + tx.yuanxing(2));
            //Console.WriteLine("长方形面积为"+tx.changfangxing(2,3));
            //Test();
        }
        public static void Test() 
        {
            Class2 yuangong = new Class2(123,"张三","软件部");
            yuangong.aaa();
        }
    }
}
